package com.pig.vo;

import com.pig.pojo.user.User;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;


@Accessors(chain = true)
public class EasyUITable implements Serializable {
    private Long total;  //记录总数
    private List<User> limit;  //每页展示的记录

    @Override
    public String toString() {
        return "EasyUITable{" +
                "total=" + total +
                ", limit=" + limit +
                '}';
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<User> getLimit() {
        return limit;
    }

    public void setLimit(List<User> limit) {
        this.limit = limit;
    }

    public EasyUITable(Long total, List<User> limit) {
        this.total = total;
        this.limit = limit;
    }

    public EasyUITable() {
    }
}
